class @ListingModel extends CustomModel
    changeSize: (newSize) ->
        @attributes.Page = Math.floor ((@attributes.Page - 1) * @attributes.Size) / newSize + 1
        @attributes.Size = newSize